html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background: url(/assets/images/login_bg.jpg) no-repeat center;
    background-size: cover;
}

.loginAndRegBox {
    position: absolute;
    width: 400px;
    height: 300px;
    background-color: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.login_title {
    height: 60px;
    background: url(/assets/images/login_title.png) no-repeat center;
}

.reg_box {
    display: none;
}

.layui-form {
    padding: 0 30px;
}

.link {
    text-align: right;
}

.link a {
    font-size: 12px;
}

.layui-form-item {
    position: relative;
}

.layui-icon {
    position: absolute;
    top: 10px;
    left: 10px;
}

.layui-input {
    padding-left: 30px;
}